/*
 Navicat Premium Data Transfer

 Source Server         : mysql8_129_外网
 Source Server Type    : MySQL
 Source Server Version : 80033 (8.0.33)
 Source Host           : 192.168.196.129:3306
 Source Schema         : nacos

 Target Server Type    : MySQL
 Target Server Version : 80033 (8.0.33)
 File Encoding         : 65001

 Date: 28/02/2024 15:09:35
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for config_info
-- ----------------------------
DROP TABLE IF EXISTS `config_info`;
CREATE TABLE `config_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin COMMENT 'source user',
  `src_ip` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'source ip',
  `app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  `c_desc` varchar(256) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `c_use` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `effect` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `type` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `c_schema` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `encrypted_data_key` text COLLATE utf8mb3_bin NOT NULL COMMENT '秘钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_info';

-- ----------------------------
-- Records of config_info
-- ----------------------------
BEGIN;
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (1, 'treasure-admin-dev.yml', 'treasure', 'name: 监控服务\nspring: \n  # 监控端点服务开启了 spring security 认证\n  security:\n    user:\n      name: actuator\n      password: actuator', 'beba83a352a93f1668ddbad3a30ae3da', '2023-07-15 03:34:19', '2023-07-15 03:34:19', NULL, '183.128.104.94', '', 'treasure', NULL, NULL, NULL, 'yaml', NULL, '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (2, 'treasure-auth-dev.yml', 'treasure', 'name: treasure auth\nspring:\n\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 6\n    password: redis@2024\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure auth\n  description: treasure auth service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: auth\n  base-package: com.dingwen.treasure.auth.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  security:\n    anonymous:\n      - /login\n      - /captcha/**\n      - /swagger-ui.html\n      - /swagger-resources/**\n      - /*/api-docs\n      - /doc.html/**\n    get:\n      - /static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA', 'fe24924d9b1f8362bdeee4c3ec1935e8', '2023-07-15 03:34:53', '2024-02-28 06:43:58', 'nacos', '192.168.196.49', '', 'treasure', 'dingwen.treasure.web.server.protect.enabled', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (3, 'treasure-business-dev.yml', 'treasure', 'name: treasure business\n\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: master\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure business\n  description: treasure business service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: business\n  base-package: com.dingwen.treasure.business.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  log:\n    debug: false\n\n    ', '907b3d0f24736c9639ce79f2ec1f142c', '2023-07-15 03:35:18', '2024-02-28 06:48:35', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (4, 'treasure-code-generate-dev.yml', 'treasure', 'name: treasure code generate\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: master\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure code generate\n  description: treasure code generate service\n  termsOfServiceUrl: http://127.0.0.1:20910\n  version: v1.0\n  groupName: codeGenerate\n  base-package: com.dingwen.treasure.code.generate.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false', 'f0f6e783002e7795298d670cd390ecab', '2023-07-15 03:35:50', '2024-02-28 06:52:48', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (5, 'treasure-dev.yml', 'treasure', 'name: 公共配置\n# 暴露所有的监控指标\nmanagement:\n  endpoints:\n    web:\n      exposure:\n        include: \"*\"\n  endpoint:\n  health:\n      show-details: always\nspring:\n  jackson:\n    date-format: yyyy-MM-dd HH:mm:ss\n    time-zone: GMT+8\n    default-property-inclusion: always\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n    \n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n     ', 'cbf886be80693380fab9ad1b93971997', '2023-07-15 03:36:19', '2024-02-28 06:51:37', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (6, 'treasure-file-generate-dev.yml', 'treasure', 'name: treasure file generate\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure file generate\n  description: treasure file generate service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: fileGenerate\n  base-package: com.dingwen.treasure.file.generate.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false', '4cc7acc2ea83a6a91d4019e37a675352', '2023-07-15 03:36:42', '2024-02-28 06:53:27', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (7, 'treasure-gateway-dev.yml', 'treasure', 'name: 网关配置\npath-pattern:\n    ignores:\n        - /manage/sys/login\n        - /manage/captcha/**\n        - /business/captcha/**', '7a0c490b9aa5fe7462e52e9f85300d4c', '2023-07-15 03:37:01', '2023-07-15 03:37:19', NULL, '183.128.104.94', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (9, 'treasure-log-dev.yml', 'treasure', 'name: treasure log\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure log\n  description: treasure log service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: log\n  base-package: com.dingwen.treasure.log.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n    # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  data:\n    mongodb:\n      host: 192.168.196.149\n      port: 27017\n      database: treaure\n      #username: mongodb\n      #password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n      #authentication-database: admin\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false', '8cfaf03b3a6e97e0441627ecaf86d2d1', '2023-07-15 03:37:45', '2024-02-28 07:02:03', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (10, 'treasure-manage-dev.yml', 'treasure', 'name: treasure manage\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: slave\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  security:\n    anonymous:\n      - /**\n      - /sys/login\n      - /captcha/**\n      - /manage/swagger-ui.html\n      - /manage/swagger-resources/**\n      - /manage/api-docs\n      - /manage/doc.html/**\n    get:\n      - /**/static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /**/profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure manage\n  description: treasure manage service\n  termsOfServiceUrl: http://127.0.0.1:20906\n  version: v1.0\n  groupName: manage\n  base-package: com.dingwen.treasure.manage.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com', 'd07ef8d91e09a2e487ff16e5172a27f8', '2023-07-15 03:38:14', '2024-02-28 06:54:04', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (11, 'treasure-slow-sql-dev.yml', 'treasure', 'name: treasure slow sql\n\nmybatis-plus:\n  type-enums-package: com.dingwen.treasure.base.constant\n  configuration:\n    map-underscore-to-camel-case: true\n    cache-enabled: true\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n  global-config:\n    banner: false\n    db-config:\n      id-type: auto\n  type-aliases-package: com.dingwen.treasure.core.entity\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  datasource: \n    dynamic:\n      primary: master\n      datasource:\n        master:\n          type: com.alibaba.druid.pool.DruidDataSource\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          type: com.alibaba.druid.pool.DruidDataSource\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n    druid:\n      # 初始化连接大小\n      initial-size: 5\n      # 最小维持的连接池大小\n      min-idle: 5\n      # 最大可提供的连接数量\n      max-active: 50\n      # 最长等待时间\n      max-wait: 60000\n      # 空闲连接关闭时间间隔\n      time-between-eviction-runs-millis: 60000\n      # 连接最短生存时间\n      min-evictable-idle-time-millis: 300000\n      # 数据库状态监测\n      validation-query: SELECT \'x\'\n      # 判断连接是否可用\n      test-while-idle: true\n      # 在获得连接之前是否进行测试\n      test-on-borrow: false\n      # 在归还连接时是否进行测试\n      test-on-return: false\n      # 打开PSCache\n      pool-prepared-statements: true\n      # 指定每个连接上PSCache的大小\n      max-pool-prepared-statement-per-connection-size: 20\n      # 配置监控统计拦截的filters\n      filter:\n        # log4j\n        slf4j:\n          # 开启log4j\n          connection-close-after-log-enabled: true\n          statement-close-after-log-enabled: true\n          statement-create-after-log-enabled: true\n          result-set-close-after-log-enabled: true\n          result-set-open-after-log-enabled: true\n      # 慢SQL\n      connect-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000\n      # 合并多个DruidDataSource的监控数据\n      use-global-data-source-stat: true\n      # Web监控\n      web-stat-filter:\n        # 开启Web监控\n        enabled: true\n        # 拦截路径\n        url-pattern: /*\n        # 排除路径\n        exclusions: \'*.gif,*.png,*.jpg,*.html,*.js,*.css,*.ico,/druid/*\'\n      # Servlet 监控\n      stat-view-servlet:\n        # 白名单\n        allow:\n        # 访问路径\n        url-pattern: /druid/*\n        # 控制台账号\n        login-username: admin\n        # 控制台密码\n        login-password: 123456\n        # 开启重置\n        reset-enable: true\n      # Spring 监控 AOP   （多个逗号分隔）\n      aop-patterns: com.dingwen.treasure.slow.controller.*\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000           \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure slow sql\n  description: treasure slow sql service\n  termsOfServiceUrl: http://127.0.0.1:20911\n  version: v1.0\n  groupName: slow-sql\n  base-package: com.dingwen.treasure.slow.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  log:\n    debug: false\n    ', 'a7a08ea65afc58098dd8c4c9a63e4b15', '2023-07-15 03:38:45', '2024-02-28 06:54:25', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (13, 'treasure-task-quartz-dev.yml', 'treasure', 'name: treasure 定时任务模块\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.196.129:3306/treasure?serverTimezone=GMT%2B8\n    username: treasure\n    password: treasure@2024\n    hikari:\n      maximum-pool-size: 20\n      minimum-idle: 5\n  jpa:\n    #在建表的时候，将默认的存储引擎切换为 InnoDB\n    database-platform: org.hibernate.dialect.MySQL5InnoDBDialect\n    # 配置在日志中打印出执行的 SQL 语句信息\n    show-sql: true\n    # 配置指明在程序启动的时候要删除并且创建实体类对应的表。\n    hibernate:\n#      ddl-auto: create\n  quartz:\n    job-store-type: jdbc\n    jdbc:\n      # 每次重启刷新表数据\n      initialize-schema: embedded\n    properties:\n      org:\n        quartz:\n          scheduler:\n            # 自动生成全局唯一的实例ID\n            instanceId: AUTO\n            # 调度器名称（集群环境多实例必须一致）\n            instanceName: clusteredScheduler\n          jobStore:\n            class: org.quartz.impl.jdbcjobstore.JobStoreTX\n            driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate\n            # JobDataMap 可以是任意数据，开启后只允许存储String\n            useProperties: false\n            tablePrefix: QRTZ_\n            # 触发器触发失败再次触发的时间间隔\n            misfireThreshold: 60000\n            clusterCheckinInterval: 5000\n            isClustered: true\n          threadPool:\n            # 定长线程池\n            class: org.quartz.simpl.SimpleThreadPool\n            #线程数量默认值10\n            threadCount: 10\n            threadPriority: 5\n            #开启继承初始化线程上下文加载器\n            threadsInheritContextClassLoaderOfInitializingThread: true\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure task\n  description: treasure task service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: task\n  base-package: com.dingwen.treasure.task.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n', '1175f3dcbca7c9524b33a1af782b3ab1', '2023-07-15 03:39:31', '2024-02-28 06:54:40', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (27, 'treasure-file-dev.yml', 'treasure', 'name: treasure file \n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure file \n  description: treasure file  service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: fileGenerate\n  base-package: com.dingwen.treasure.file.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\nspring:\n  #数据源 \n  datasource:\n    url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n    username: treasure\n    password: treasure@2024\n    driver-class-name: com.mysql.cj.jdbc.Driver\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  minio:  \n    endpoint: http://192.168.196.149:9001\n    accessKey: minio\n    secretKey: minio@2024\n', '40ebed724febd22fbc3388f819a70f8f', '2023-07-15 05:18:42', '2024-02-28 06:55:28', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (47, 'treasure-xxl-job-admin-dev.yml', 'treasure', 'name: treasure xxl job admin\nspring:\n  application:\n    name: treasure-xxl-job-admin\n  mail:\n    host: smtp.163.com\n    port: 465\n    username: dingwen0314@163.com\n    from: dingwen0314@163.com\n    password: CDNNBMFBJDVCTAFN\n    properties:\n      mail:\n        smtp:\n          auth: true\n          starttls: \n            enable: true\n            required: true\n          socketFactory:\n            class: javax.net.ssl.SSLSocketFactory\n  freemarker:\n    templateLoaderPath: classpath:/templates/\n    suffix: .ftl\n    charset: UTF-8\n    request-context-attribute: request\n    settings.number_format: 0.##########\n  datasource:\n    url: jdbc:mysql://192.168.196.129:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai\n    username: treasure\n    password: treasure@2024\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    type: com.zaxxer.hikari.HikariDataSource\n    hikari:\n      minimum-idle: 10\n      maximum-pool-size: 30\n      auto-commit: true\n      idle-timeout: 30000\n      pool-name: HikariCP\n      max-lifetime: 900000\n      connection-timeout: 10000\n      connection-test-query: SELECT 1\n      alidation-timeout: 1000\n\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000           \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  log:\n    debug: false\n\n\nmybatis:\n  mapper-locations: classpath:/mybatis-mapper/*Mapper.xml\n\nxxl:\n  job: \n    accessToken:  xxl-job-access-token\n    i18n: zh_CN\n    triggerpool:\n      fast:\n        max: 200\n      slow:\n        max: 100\n    logretentiondays: 30\n    ', '502e6b11bcdfa13c1fe8d88fb8e60e31', '2023-07-31 03:25:14', '2024-02-28 07:05:48', 'nacos', '192.168.196.49', '', 'treasure', '', '', '', 'yaml', '', '');
COMMIT;

-- ----------------------------
-- Table structure for config_info_aggr
-- ----------------------------
DROP TABLE IF EXISTS `config_info_aggr`;
CREATE TABLE `config_info_aggr` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `datum_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'datum_id',
  `content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '内容',
  `gmt_modified` datetime NOT NULL COMMENT '修改时间',
  `app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfoaggr_datagrouptenantdatum` (`data_id`,`group_id`,`tenant_id`,`datum_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='增加租户字段';

-- ----------------------------
-- Records of config_info_aggr
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_info_beta
-- ----------------------------
DROP TABLE IF EXISTS `config_info_beta`;
CREATE TABLE `config_info_beta` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
  `beta_ips` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'betaIps',
  `md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin COMMENT 'source user',
  `src_ip` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'source ip',
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  `encrypted_data_key` text COLLATE utf8mb3_bin NOT NULL COMMENT '秘钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfobeta_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_info_beta';

-- ----------------------------
-- Records of config_info_beta
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_info_tag
-- ----------------------------
DROP TABLE IF EXISTS `config_info_tag`;
CREATE TABLE `config_info_tag` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_id',
  `tag_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'tag_id',
  `app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin COMMENT 'source user',
  `src_ip` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'source ip',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfotag_datagrouptenanttag` (`data_id`,`group_id`,`tenant_id`,`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_info_tag';

-- ----------------------------
-- Records of config_info_tag
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_tags_relation
-- ----------------------------
DROP TABLE IF EXISTS `config_tags_relation`;
CREATE TABLE `config_tags_relation` (
  `id` bigint NOT NULL COMMENT 'id',
  `tag_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'tag_name',
  `tag_type` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'tag_type',
  `data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_id',
  `nid` bigint NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`nid`),
  UNIQUE KEY `uk_configtagrelation_configidtag` (`id`,`tag_name`,`tag_type`),
  KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_tag_relation';

-- ----------------------------
-- Records of config_tags_relation
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for group_capacity
-- ----------------------------
DROP TABLE IF EXISTS `group_capacity`;
CREATE TABLE `group_capacity` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT 'Group ID，空字符表示整个集群',
  `quota` int unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数，，0表示使用默认值',
  `max_aggr_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_group_id` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='集群、各Group容量信息表';

-- ----------------------------
-- Records of group_capacity
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for his_config_info
-- ----------------------------
DROP TABLE IF EXISTS `his_config_info`;
CREATE TABLE `his_config_info` (
  `id` bigint unsigned NOT NULL,
  `nid` bigint unsigned NOT NULL AUTO_INCREMENT,
  `data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `src_ip` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `op_type` char(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  `encrypted_data_key` text COLLATE utf8mb3_bin NOT NULL COMMENT '秘钥',
  PRIMARY KEY (`nid`),
  KEY `idx_gmt_create` (`gmt_create`),
  KEY `idx_gmt_modified` (`gmt_modified`),
  KEY `idx_did` (`data_id`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='多租户改造';

-- ----------------------------
-- Records of his_config_info
-- ----------------------------
BEGIN;
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 53, 'treasure-auth-dev.yml', 'treasure', '', 'name: treasure auth\nspring:\n\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 6\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure auth\n  description: treasure auth service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: auth\n  base-package: com.dingwen.treasure.auth.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  security:\n    anonymous:\n      - /login\n      - /captcha/**\n      - /swagger-ui.html\n      - /swagger-resources/**\n      - /*/api-docs\n      - /doc.html/**\n    get:\n      - /static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA', '5545c8c26d037c50e9db9d9344274de7', '2024-02-28 01:13:45', '2024-02-28 06:13:46', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (3, 54, 'treasure-business-dev.yml', 'treasure', '', 'name: treasure business\n\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: master\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://47.98.251.224:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://47.98.251.224:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure business\n  description: treasure business service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: business\n  base-package: com.dingwen.treasure.business.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  log:\n    debug: false\n\n    ', 'd462398df43178d90fd84400a303817a', '2024-02-28 01:15:45', '2024-02-28 06:15:46', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 55, 'treasure-auth-dev.yml', 'treasure', '', 'name: treasure auth\nspring:\n\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: http://192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: http://192.168.196.149\n    port: 6379\n    database: 6\n    password: reids@2024\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure auth\n  description: treasure auth service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: auth\n  base-package: com.dingwen.treasure.auth.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  security:\n    anonymous:\n      - /login\n      - /captcha/**\n      - /swagger-ui.html\n      - /swagger-resources/**\n      - /*/api-docs\n      - /doc.html/**\n    get:\n      - /static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA', '4a6913e2bcdda57a3db82466fb451ace', '2024-02-28 01:16:04', '2024-02-28 06:16:05', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (4, 56, 'treasure-code-generate-dev.yml', 'treasure', '', 'name: treasure code generate\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: master\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://47.98.251.224:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://47.98.251.224:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure code generate\n  description: treasure code generate service\n  termsOfServiceUrl: http://127.0.0.1:20910\n  version: v1.0\n  groupName: codeGenerate\n  base-package: com.dingwen.treasure.code.generate.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com', 'ff0801db2e75966b67d446ca6a1475ba', '2024-02-28 01:17:59', '2024-02-28 06:17:59', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (3, 57, 'treasure-business-dev.yml', 'treasure', '', 'name: treasure business\n\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: master\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure business\n  description: treasure business service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: business\n  base-package: com.dingwen.treasure.business.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  log:\n    debug: false\n\n    ', '1a5d2bf6090d84a94b7e9f574d2b6fc2', '2024-02-28 01:18:34', '2024-02-28 06:18:34', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (5, 58, 'treasure-dev.yml', 'treasure', '', 'name: 公共配置\n# 暴露所有的监控指标\nmanagement:\n  endpoints:\n    web:\n      exposure:\n        include: \"*\"\n  endpoint:\n  health:\n      show-details: always\nspring:\n  jackson:\n    date-format: yyyy-MM-dd HH:mm:ss\n    time-zone: GMT+8\n    default-property-inclusion: always\n  # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    \n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true', 'b0e31aeeddbe39e2174b1dcba69d0190', '2024-02-28 01:19:17', '2024-02-28 06:19:17', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (9, 59, 'treasure-log-dev.yml', 'treasure', '', 'name: treasure log\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure log\n  description: treasure log service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: log\n  base-package: com.dingwen.treasure.log.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\nspring:\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n    # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n  data:\n    mongodb:\n      host: 47.98.251.224\n      port: 27017\n      database: treaure\n      username: mongodb\n      password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n      authentication-database: admin', '1e723447177cdd75237ad6fe5583a980', '2024-02-28 01:20:40', '2024-02-28 06:20:41', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (10, 60, 'treasure-manage-dev.yml', 'treasure', '', 'name: treasure manage\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: slave\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://47.98.251.224:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://47.98.251.224:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\ntreasure:\n  security:\n    anonymous:\n      - /**\n      - /sys/login\n      - /captcha/**\n      - /manage/swagger-ui.html\n      - /manage/swagger-resources/**\n      - /manage/api-docs\n      - /manage/doc.html/**\n    get:\n      - /**/static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /**/profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure manage\n  description: treasure manage service\n  termsOfServiceUrl: http://127.0.0.1:20906\n  version: v1.0\n  groupName: manage\n  base-package: com.dingwen.treasure.manage.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com', '80e19bc9a81b0266b983e866cc215cac', '2024-02-28 01:22:03', '2024-02-28 06:22:04', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (11, 61, 'treasure-slow-sql-dev.yml', 'treasure', '', 'name: treasure slow sql\n\nmybatis-plus:\n  type-enums-package: com.dingwen.treasure.base.constant\n  configuration:\n    map-underscore-to-camel-case: true\n    cache-enabled: true\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n  global-config:\n    banner: false\n    db-config:\n      id-type: auto\n  type-aliases-package: com.dingwen.treasure.core.entity\nspring:\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n  datasource: \n    dynamic:\n      primary: master\n      datasource:\n        master:\n          type: com.alibaba.druid.pool.DruidDataSource\n          url: jdbc:mysql://47.98.251.224:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          type: com.alibaba.druid.pool.DruidDataSource\n          url: jdbc:mysql://47.98.251.224:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: root\n          password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n          driver-class-name: com.mysql.cj.jdbc.Driver\n    druid:\n      # 初始化连接大小\n      initial-size: 5\n      # 最小维持的连接池大小\n      min-idle: 5\n      # 最大可提供的连接数量\n      max-active: 50\n      # 最长等待时间\n      max-wait: 60000\n      # 空闲连接关闭时间间隔\n      time-between-eviction-runs-millis: 60000\n      # 连接最短生存时间\n      min-evictable-idle-time-millis: 300000\n      # 数据库状态监测\n      validation-query: SELECT \'x\'\n      # 判断连接是否可用\n      test-while-idle: true\n      # 在获得连接之前是否进行测试\n      test-on-borrow: false\n      # 在归还连接时是否进行测试\n      test-on-return: false\n      # 打开PSCache\n      pool-prepared-statements: true\n      # 指定每个连接上PSCache的大小\n      max-pool-prepared-statement-per-connection-size: 20\n      # 配置监控统计拦截的filters\n      filter:\n        # log4j\n        slf4j:\n          # 开启log4j\n          connection-close-after-log-enabled: true\n          statement-close-after-log-enabled: true\n          statement-create-after-log-enabled: true\n          result-set-close-after-log-enabled: true\n          result-set-open-after-log-enabled: true\n      # 慢SQL\n      connect-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000\n      # 合并多个DruidDataSource的监控数据\n      use-global-data-source-stat: true\n      # Web监控\n      web-stat-filter:\n        # 开启Web监控\n        enabled: true\n        # 拦截路径\n        url-pattern: /*\n        # 排除路径\n        exclusions: \'*.gif,*.png,*.jpg,*.html,*.js,*.css,*.ico,/druid/*\'\n      # Servlet 监控\n      stat-view-servlet:\n        # 白名单\n        allow:\n        # 访问路径\n        url-pattern: /druid/*\n        # 控制台账号\n        login-username: admin\n        # 控制台密码\n        login-password: 123456\n        # 开启重置\n        reset-enable: true\n      # Spring 监控 AOP   （多个逗号分隔）\n      aop-patterns: com.dingwen.treasure.slow.controller.*\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000           \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure slow sql\n  description: treasure slow sql service\n  termsOfServiceUrl: http://127.0.0.1:20911\n  version: v1.0\n  groupName: slow-sql\n  base-package: com.dingwen.treasure.slow.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  log:\n    debug: false\n    ', '4dc3639acf15a82191d39c2dc9a96cf6', '2024-02-28 01:23:25', '2024-02-28 06:23:25', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (13, 62, 'treasure-task-quartz-dev.yml', 'treasure', '', 'name: treasure 定时任务模块\nspring:\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://47.98.251.224:3306/treasure?serverTimezone=GMT%2B8\n    username: root\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    hikari:\n      maximum-pool-size: 20\n      minimum-idle: 5\n  jpa:\n    #在建表的时候，将默认的存储引擎切换为 InnoDB\n    database-platform: org.hibernate.dialect.MySQL5InnoDBDialect\n    # 配置在日志中打印出执行的 SQL 语句信息\n    show-sql: true\n    # 配置指明在程序启动的时候要删除并且创建实体类对应的表。\n    hibernate:\n#      ddl-auto: create\n  quartz:\n    job-store-type: jdbc\n    jdbc:\n      # 每次重启刷新表数据\n      initialize-schema: embedded\n    properties:\n      org:\n        quartz:\n          scheduler:\n            # 自动生成全局唯一的实例ID\n            instanceId: AUTO\n            # 调度器名称（集群环境多实例必须一致）\n            instanceName: clusteredScheduler\n          jobStore:\n            class: org.quartz.impl.jdbcjobstore.JobStoreTX\n            driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate\n            # JobDataMap 可以是任意数据，开启后只允许存储String\n            useProperties: false\n            tablePrefix: QRTZ_\n            # 触发器触发失败再次触发的时间间隔\n            misfireThreshold: 60000\n            clusterCheckinInterval: 5000\n            isClustered: true\n          threadPool:\n            # 定长线程池\n            class: org.quartz.simpl.SimpleThreadPool\n            #线程数量默认值10\n            threadCount: 10\n            threadPriority: 5\n            #开启继承初始化线程上下文加载器\n            threadsInheritContextClassLoaderOfInitializingThread: true\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure task\n  description: treasure task service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: task\n  base-package: com.dingwen.treasure.task.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\n', '978509c308e64aa379c9e44446920a51', '2024-02-28 01:24:32', '2024-02-28 06:24:33', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (27, 63, 'treasure-file-dev.yml', 'treasure', '', 'name: treasure file \n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure file \n  description: treasure file  service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: fileGenerate\n  base-package: com.dingwen.treasure.file.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\nspring:\n  #数据源 \n  datasource:\n    url: jdbc:mysql://47.98.251.224:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n    username: root\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    driver-class-name: com.mysql.cj.jdbc.Driver\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 47.98.251.224\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 47.98.251.224\n    port: 6379\n    database: 1\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n\ntreasure:\n  minio:  \n    endpoint: http://47.98.251.224:9001\n    accessKey: minio\n    secretKey: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n', 'a91b89148fc3ab60b5c1cbede4bb03ed', '2024-02-28 01:25:42', '2024-02-28 06:25:43', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (47, 64, 'treasure-xxl-job-admin-dev.yml', 'treasure', '', 'name: treasure xxl job admin\nspring:\n  application:\n    name: treasure-xxl-job-admin\n  mail:\n    host: smtp.163.com\n    port: 465\n    username: dingwen0314@163.com\n    from: dingwen0314@163.com\n    password: CDNNBMFBJDVCTAFN\n    properties:\n      mail:\n        smtp:\n          auth: true\n          starttls: \n            enable: true\n            required: true\n          socketFactory:\n            class: javax.net.ssl.SSLSocketFactory\n  freemarker:\n    templateLoaderPath: classpath:/templates/\n    suffix: .ftl\n    charset: UTF-8\n    request-context-attribute: request\n    settings.number_format: 0.##########\n  datasource:\n    url: jdbc:mysql://47.98.251.224:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai\n    username: root\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    type: com.zaxxer.hikari.HikariDataSource\n    hikari:\n      minimum-idle: 10\n      maximum-pool-size: 30\n      auto-commit: true\n      idle-timeout: 30000\n      pool-name: HikariCP\n      max-lifetime: 900000\n      connection-timeout: 10000\n      connection-test-query: SELECT 1\n      alidation-timeout: 1000\n\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000           \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\ntreasure:\n  log:\n    debug: false\n\n\nmybatis:\n  mapper-locations: classpath:/mybatis-mapper/*Mapper.xml\n\nxxl:\n  job: \n    accessToken:  xxl-job-access-token\n    i18n: zh_CN\n    triggerpool:\n      fast:\n        max: 200\n      slow:\n        max: 100\n    logretentiondays: 30\n\ndingwen:\n  treasure:\n    web:\n      server:\n        protect:\n          enabled: false\n    ', '263facd2f0109e0e111f63290d59b169', '2024-02-28 01:26:24', '2024-02-28 06:26:25', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 65, 'treasure-auth-dev.yml', 'treasure', '', 'name: treasure auth\nspring:\n\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 6\n    password: reids@2024\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure auth\n  description: treasure auth service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: auth\n  base-package: com.dingwen.treasure.auth.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  security:\n    anonymous:\n      - /login\n      - /captcha/**\n      - /swagger-ui.html\n      - /swagger-resources/**\n      - /*/api-docs\n      - /doc.html/**\n    get:\n      - /static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA', '185b2a393637dda8d732b52a701c1552', '2024-02-28 01:40:32', '2024-02-28 06:40:32', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 66, 'treasure-auth-dev.yml', 'treasure', '', 'name: treasure auth\nspring:\n\n  rabbitmq:\n    username: rmq\n    password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 6\n    password: reids@2024\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure auth\n  description: treasure auth service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: auth\n  base-package: com.dingwen.treasure.auth.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  security:\n    anonymous:\n      - /login\n      - /captcha/**\n      - /swagger-ui.html\n      - /swagger-resources/**\n      - /*/api-docs\n      - /doc.html/**\n    get:\n      - /static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA', 'd9d8f28c275ef479b0bbb22e5743c5b2', '2024-02-28 01:41:28', '2024-02-28 06:41:29', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 67, 'treasure-auth-dev.yml', 'treasure', '', 'name: treasure auth\nspring:\n\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 6\n    password: reids@2024\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure auth\n  description: treasure auth service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: auth\n  base-package: com.dingwen.treasure.auth.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n  security:\n    anonymous:\n      - /login\n      - /captcha/**\n      - /swagger-ui.html\n      - /swagger-resources/**\n      - /*/api-docs\n      - /doc.html/**\n    get:\n      - /static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA', 'd078ded551847a4b9d92eec7c3234968', '2024-02-28 01:43:57', '2024-02-28 06:43:58', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (3, 68, 'treasure-business-dev.yml', 'treasure', '', 'name: treasure business\n\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: master\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure business\n  description: treasure business service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: business\n  base-package: com.dingwen.treasure.business.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  log:\n    debug: false\n\n    ', 'e58cdd4f0f368f96298bbf827f35db85', '2024-02-28 01:48:34', '2024-02-28 06:48:35', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (5, 69, 'treasure-dev.yml', 'treasure', '', 'name: 公共配置\n# 暴露所有的监控指标\nmanagement:\n  endpoints:\n    web:\n      exposure:\n        include: \"*\"\n  endpoint:\n  health:\n      show-details: always\nspring:\n  jackson:\n    date-format: yyyy-MM-dd HH:mm:ss\n    time-zone: GMT+8\n    default-property-inclusion: always\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n    \n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true', 'cadae4bb6c9ebcd5f02ea94cf2b4dc06', '2024-02-28 01:51:37', '2024-02-28 06:51:37', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (4, 70, 'treasure-code-generate-dev.yml', 'treasure', '', 'name: treasure code generate\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: master\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure code generate\n  description: treasure code generate service\n  termsOfServiceUrl: http://127.0.0.1:20910\n  version: v1.0\n  groupName: codeGenerate\n  base-package: com.dingwen.treasure.code.generate.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com', '06a840f0cde434d896119088d58d7c91', '2024-02-28 01:52:48', '2024-02-28 06:52:48', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (6, 71, 'treasure-file-generate-dev.yml', 'treasure', '', 'name: treasure file generate\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure file generate\n  description: treasure file generate service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: fileGenerate\n  base-package: com.dingwen.treasure.file.generate.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com', 'e5635127f27d75d9a429293ba28542d3', '2024-02-28 01:53:26', '2024-02-28 06:53:27', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (10, 72, 'treasure-manage-dev.yml', 'treasure', '', 'name: treasure manage\n# mybatis plus\nmybatis-plus:\n\n  # 通用枚举扫描\n  type-enums-package: com.dingwen.treasure.base.constant\n\n  configuration:\n\n    # 开启下划线驼峰转换\n    map-underscore-to-camel-case: true\n\n    # 开启二级缓存\n    cache-enabled: true\n\n    # 指定日志实现\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n    # 通用枚举处理类\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n\n  global-config:\n\n    # 关闭 banner\n    banner: false\n\n    db-config:\n\n      # 统一配置实体ID为数据库自增策略\n      id-type: auto\n\n  # 实体包扫描（xml 中简写类名）\n  type-aliases-package: com.dingwen.treasure.core.entity\n\n\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n\n  #数据源 \n  datasource:\n    dynamic:\n      # 默认数据源\n      primary: slave\n      #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源\n      strict: false \n      datasource:\n        master:\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n\n  # boot\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator\n\n# feign            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\n\n# hystrix \nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000\n\n# ribbon            \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\ntreasure:\n  security:\n    anonymous:\n      - /**\n      - /sys/login\n      - /captcha/**\n      - /manage/swagger-ui.html\n      - /manage/swagger-resources/**\n      - /manage/api-docs\n      - /manage/doc.html/**\n    get:\n      - /**/static/**\n      - /*.html\n      - /**/*.html\n      - /**/*.css\n      - /**/*.js\n      - /**/profile/**\n  log:\n    debug: false\n  captcha:\n    image:\n      enabled: false\n      width: 200\n      height: 100\n      codeCount: 6\n      disturbCount: 10\n      captchaEnum: CIRCLE_CAPTCHA\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure manage\n  description: treasure manage service\n  termsOfServiceUrl: http://127.0.0.1:20906\n  version: v1.0\n  groupName: manage\n  base-package: com.dingwen.treasure.manage.controller:com.dingwen.treasure.core.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com', '39bc4fb4ecea158c240e1c1a3fdd3177', '2024-02-28 01:54:04', '2024-02-28 06:54:04', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (11, 73, 'treasure-slow-sql-dev.yml', 'treasure', '', 'name: treasure slow sql\n\nmybatis-plus:\n  type-enums-package: com.dingwen.treasure.base.constant\n  configuration:\n    map-underscore-to-camel-case: true\n    cache-enabled: true\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler\n  global-config:\n    banner: false\n    db-config:\n      id-type: auto\n  type-aliases-package: com.dingwen.treasure.core.entity\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  datasource: \n    dynamic:\n      primary: master\n      datasource:\n        master:\n          type: com.alibaba.druid.pool.DruidDataSource\n          url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n        slave:\n          type: com.alibaba.druid.pool.DruidDataSource\n          url: jdbc:mysql://192.168.196.129:3306/treasure_slave?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n          username: treasure\n          password: treasure@2024\n          driver-class-name: com.mysql.cj.jdbc.Driver\n    druid:\n      # 初始化连接大小\n      initial-size: 5\n      # 最小维持的连接池大小\n      min-idle: 5\n      # 最大可提供的连接数量\n      max-active: 50\n      # 最长等待时间\n      max-wait: 60000\n      # 空闲连接关闭时间间隔\n      time-between-eviction-runs-millis: 60000\n      # 连接最短生存时间\n      min-evictable-idle-time-millis: 300000\n      # 数据库状态监测\n      validation-query: SELECT \'x\'\n      # 判断连接是否可用\n      test-while-idle: true\n      # 在获得连接之前是否进行测试\n      test-on-borrow: false\n      # 在归还连接时是否进行测试\n      test-on-return: false\n      # 打开PSCache\n      pool-prepared-statements: true\n      # 指定每个连接上PSCache的大小\n      max-pool-prepared-statement-per-connection-size: 20\n      # 配置监控统计拦截的filters\n      filter:\n        # log4j\n        slf4j:\n          # 开启log4j\n          connection-close-after-log-enabled: true\n          statement-close-after-log-enabled: true\n          statement-create-after-log-enabled: true\n          result-set-close-after-log-enabled: true\n          result-set-open-after-log-enabled: true\n      # 慢SQL\n      connect-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000\n      # 合并多个DruidDataSource的监控数据\n      use-global-data-source-stat: true\n      # Web监控\n      web-stat-filter:\n        # 开启Web监控\n        enabled: true\n        # 拦截路径\n        url-pattern: /*\n        # 排除路径\n        exclusions: \'*.gif,*.png,*.jpg,*.html,*.js,*.css,*.ico,/druid/*\'\n      # Servlet 监控\n      stat-view-servlet:\n        # 白名单\n        allow:\n        # 访问路径\n        url-pattern: /druid/*\n        # 控制台账号\n        login-username: admin\n        # 控制台密码\n        login-password: 123456\n        # 开启重置\n        reset-enable: true\n      # Spring 监控 AOP   （多个逗号分隔）\n      aop-patterns: com.dingwen.treasure.slow.controller.*\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000           \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure slow sql\n  description: treasure slow sql service\n  termsOfServiceUrl: http://127.0.0.1:20911\n  version: v1.0\n  groupName: slow-sql\n  base-package: com.dingwen.treasure.slow.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\ntreasure:\n  log:\n    debug: false\n    ', 'dbf2897f1052337002ee2c39e580e4af', '2024-02-28 01:54:24', '2024-02-28 06:54:25', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (13, 74, 'treasure-task-quartz-dev.yml', 'treasure', '', 'name: treasure 定时任务模块\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.196.129:3306/treasure?serverTimezone=GMT%2B8\n    username: treasure\n    password: treasure@2024\n    hikari:\n      maximum-pool-size: 20\n      minimum-idle: 5\n  jpa:\n    #在建表的时候，将默认的存储引擎切换为 InnoDB\n    database-platform: org.hibernate.dialect.MySQL5InnoDBDialect\n    # 配置在日志中打印出执行的 SQL 语句信息\n    show-sql: true\n    # 配置指明在程序启动的时候要删除并且创建实体类对应的表。\n    hibernate:\n#      ddl-auto: create\n  quartz:\n    job-store-type: jdbc\n    jdbc:\n      # 每次重启刷新表数据\n      initialize-schema: embedded\n    properties:\n      org:\n        quartz:\n          scheduler:\n            # 自动生成全局唯一的实例ID\n            instanceId: AUTO\n            # 调度器名称（集群环境多实例必须一致）\n            instanceName: clusteredScheduler\n          jobStore:\n            class: org.quartz.impl.jdbcjobstore.JobStoreTX\n            driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate\n            # JobDataMap 可以是任意数据，开启后只允许存储String\n            useProperties: false\n            tablePrefix: QRTZ_\n            # 触发器触发失败再次触发的时间间隔\n            misfireThreshold: 60000\n            clusterCheckinInterval: 5000\n            isClustered: true\n          threadPool:\n            # 定长线程池\n            class: org.quartz.simpl.SimpleThreadPool\n            #线程数量默认值10\n            threadCount: 10\n            threadPriority: 5\n            #开启继承初始化线程上下文加载器\n            threadsInheritContextClassLoaderOfInitializingThread: true\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure task\n  description: treasure task service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: task\n  base-package: com.dingwen.treasure.task.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\n', 'd09c7fb5e36ef76e2742815720887464', '2024-02-28 01:54:40', '2024-02-28 06:54:40', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (47, 75, 'treasure-xxl-job-admin-dev.yml', 'treasure', '', 'name: treasure xxl job admin\nspring:\n  application:\n    name: treasure-xxl-job-admin\n  mail:\n    host: smtp.163.com\n    port: 465\n    username: dingwen0314@163.com\n    from: dingwen0314@163.com\n    password: CDNNBMFBJDVCTAFN\n    properties:\n      mail:\n        smtp:\n          auth: true\n          starttls: \n            enable: true\n            required: true\n          socketFactory:\n            class: javax.net.ssl.SSLSocketFactory\n  freemarker:\n    templateLoaderPath: classpath:/templates/\n    suffix: .ftl\n    charset: UTF-8\n    request-context-attribute: request\n    settings.number_format: 0.##########\n  datasource:\n    url: jdbc:mysql://192.168.196.129:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai\n    username: treasure\n    password: treasure@2024\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    type: com.zaxxer.hikari.HikariDataSource\n    hikari:\n      minimum-idle: 10\n      maximum-pool-size: 30\n      auto-commit: true\n      idle-timeout: 30000\n      pool-name: HikariCP\n      max-lifetime: 900000\n      connection-timeout: 10000\n      connection-test-query: SELECT 1\n      alidation-timeout: 1000\n\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000           \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\ntreasure:\n  log:\n    debug: false\n\n\nmybatis:\n  mapper-locations: classpath:/mybatis-mapper/*Mapper.xml\n\nxxl:\n  job: \n    accessToken:  xxl-job-access-token\n    i18n: zh_CN\n    triggerpool:\n      fast:\n        max: 200\n      slow:\n        max: 100\n    logretentiondays: 30\n\ndingwen:\n  treasure:\n    web:\n      server:\n        protect:\n          enabled: false\n    ', '3201b7a07d646e506107a05efbc21b0f', '2024-02-28 01:55:07', '2024-02-28 06:55:08', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (27, 76, 'treasure-file-dev.yml', 'treasure', '', 'name: treasure file \n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure file \n  description: treasure file  service\n  termsOfServiceUrl: http://127.0.0.1:20909\n  version: v1.0\n  groupName: fileGenerate\n  base-package: com.dingwen.treasure.file.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\nspring:\n  #数据源 \n  datasource:\n    url: jdbc:mysql://192.168.196.129:3306/treasure?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT\n    username: treasure\n    password: treasure@2024\n    driver-class-name: com.mysql.cj.jdbc.Driver\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n  # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n\ntreasure:\n  minio:  \n    endpoint: http://192.168.196.149:9001\n    accessKey: minio\n    secretKey: minio@2024\n', 'be9f8178485e7aa42c70861d0ff94944', '2024-02-28 01:55:28', '2024-02-28 06:55:28', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (9, 77, 'treasure-log-dev.yml', 'treasure', '', 'name: treasure log\n\n# 接口文档\nknife4j:\n  enable: true\n  basic:\n    enable: true\n    username: test\n    password: 123\n  title: Treasure log\n  description: treasure log service\n  termsOfServiceUrl: http://127.0.0.1:20900\n  version: v1.0\n  groupName: log\n  base-package: com.dingwen.treasure.log.controller\n  contact:\n    name: dingwen\n    url: \n    email: dingwen0314@163.com\nspring:\n  rabbitmq:\n    username: rabbitmq\n    password: rabbitmq@2024\n    # mq虚拟主机，逻辑分区，可指定不同用户对不同对虚拟主机对权限\n    virtual-host: /\n    host: 192.168.196.149\n    port: 5672\n    # 开启消息投递到交换机进行回调\n    publisher-confirm-type: correlated\n    # 开启消息投递到队列进行回调\n    publisher-returns: true\n    # redis\n  redis:\n    host: 192.168.196.149\n    port: 6379\n    database: 1\n    password: redis@2024\n  data:\n    mongodb:\n      host: 192.168.196.149\n      port: 27017\n      database: treaure\n      #username: mongodb\n      #password: 1hq86@oWoVvtZRVq0ld1K@xOddAqDQ\n      #authentication-database: admin', '95dedf56778589573030c170359b3f1f', '2024-02-28 02:02:02', '2024-02-28 07:02:03', 'nacos', '192.168.196.49', 'U', 'treasure', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (47, 78, 'treasure-xxl-job-admin-dev.yml', 'treasure', '', 'name: treasure xxl job admin\nspring:\n  application:\n    name: treasure-xxl-job-admin\n  mail:\n    host: smtp.163.com\n    port: 465\n    username: dingwen0314@163.com\n    from: dingwen0314@163.com\n    password: CDNNBMFBJDVCTAFN\n    properties:\n      mail:\n        smtp:\n          auth: true\n          starttls: \n            enable: true\n            required: true\n          socketFactory:\n            class: javax.net.ssl.SSLSocketFactory\n  freemarker:\n    templateLoaderPath: classpath:/templates/\n    suffix: .ftl\n    charset: UTF-8\n    request-context-attribute: request\n    settings.number_format: 0.##########\n  datasource:\n    url: jdbc:mysql://192.168.196.129:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai\n    username: treasure\n    password: treasure@2024\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    type: com.zaxxer.hikari.HikariDataSource\n    hikari:\n      minimum-idle: 10\n      maximum-pool-size: 30\n      auto-commit: true\n      idle-timeout: 30000\n      pool-name: HikariCP\n      max-lifetime: 900000\n      connection-timeout: 10000\n      connection-test-query: SELECT 1\n      alidation-timeout: 1000\n\n  boot:\n    admin:\n      client:\n        username: actuator\n        password: actuator\n        instance:\n          metadata:\n            user.name: actuator\n            user.password: actuator            \nfeign:\n  hystrix:\n    enabled: true\n  ConnectTimeout: 30000\n  ReadTimeout: 50000\nhystrix:\n  propagate:\n    request-attribute:\n      enabled: true\n  command:\n    default:\n      execution:\n        isolation:\n          thread:\n            timeoutInMilliseconds: 72000           \nribbon:\n  eager-load:\n    enabled: true\n  ConnectTimeout: 3000\n  ReadTimeout: 15000\n\ntreasure:\n  log:\n    debug: false\n\n\nmybatis:\n  mapper-locations: classpath:/mybatis-mapper/*Mapper.xml\n\nxxl:\n  job: \n    accessToken:  xxl-job-access-token\n    i18n: zh_CN\n    triggerpool:\n      fast:\n        max: 200\n      slow:\n        max: 100\n    logretentiondays: 30\n\ntreasure:\n  web:\n    server:\n      protect:\n        enabled: false\n    ', '31858ca705c5f952fe6faf77a1d7d6ea', '2024-02-28 02:05:47', '2024-02-28 07:05:48', 'nacos', '192.168.196.49', 'U', 'treasure', '');
COMMIT;

-- ----------------------------
-- Table structure for permissions
-- ----------------------------
DROP TABLE IF EXISTS `permissions`;
CREATE TABLE `permissions` (
  `role` varchar(50) NOT NULL,
  `resource` varchar(255) NOT NULL,
  `action` varchar(8) NOT NULL,
  UNIQUE KEY `uk_role_permission` (`role`,`resource`,`action`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

-- ----------------------------
-- Records of permissions
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for roles
-- ----------------------------
DROP TABLE IF EXISTS `roles`;
CREATE TABLE `roles` (
  `username` varchar(50) NOT NULL,
  `role` varchar(50) NOT NULL,
  UNIQUE KEY `idx_user_role` (`username`,`role`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

-- ----------------------------
-- Records of roles
-- ----------------------------
BEGIN;
INSERT INTO `roles` (`username`, `role`) VALUES ('nacos', 'ROLE_ADMIN');
COMMIT;

-- ----------------------------
-- Table structure for tenant_capacity
-- ----------------------------
DROP TABLE IF EXISTS `tenant_capacity`;
CREATE TABLE `tenant_capacity` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID',
  `quota` int unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数',
  `max_aggr_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='租户容量信息表';

-- ----------------------------
-- Records of tenant_capacity
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for tenant_info
-- ----------------------------
DROP TABLE IF EXISTS `tenant_info`;
CREATE TABLE `tenant_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `kp` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'kp',
  `tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_id',
  `tenant_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_name',
  `tenant_desc` varchar(256) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'tenant_desc',
  `create_source` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'create_source',
  `gmt_create` bigint NOT NULL COMMENT '创建时间',
  `gmt_modified` bigint NOT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_tenant_info_kptenantid` (`kp`,`tenant_id`),
  KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='tenant_info';

-- ----------------------------
-- Records of tenant_info
-- ----------------------------
BEGIN;
INSERT INTO `tenant_info` (`id`, `kp`, `tenant_id`, `tenant_name`, `tenant_desc`, `create_source`, `gmt_create`, `gmt_modified`) VALUES (1, '1', 'treasure', 'treasure', '丁文的代码财富', 'nacos', 1689390812947, 1689390812947);
COMMIT;

-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
  `username` varchar(50) NOT NULL,
  `password` varchar(500) NOT NULL,
  `enabled` tinyint(1) NOT NULL,
  PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

-- ----------------------------
-- Records of users
-- ----------------------------
BEGIN;
INSERT INTO `users` (`username`, `password`, `enabled`) VALUES ('nacos', '$2a$10$xtalPK586NBlj9Ed6ppadOFFJrUhhM6cyeLHB3O6tlYWLP3BmEoFm', 1);
INSERT INTO `users` (`username`, `password`, `enabled`) VALUES ('test1234412', '$2a$10$u8HV7.B6Dy6CTm4zXFBBY.7Tbu/P3ujwNvmmCboJBZdTYlMQtvcFq', 1);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
